Dynamic Mosaic - Help

Mosaic settings

The mosaic creation has a couple of basic settings for size and colour matching. When the button 'Show Controls' is pressed a small pop-up window is opened with the Mosaic settings .

The top box provides the settings for colour and quality, the bottom box for size and shape.The following settings are available:


Picture above: manifolds in a frame. From left to right: 2x2, 3x3 and 5x5 pictures

Settings example

Example of tweaking the cell size, the amount of tile and the aspect ratio to a good fit with the monitor size.

Suppose the monitor has 1650 x 1050 pixels, thus an aspect ratio of 11:7, a very uncommon value. The mathematical value would then be 11/7 = 1.57. We first prepare a source picture with this aspect ratio. This is the picture we will use (dimensions: 825 x 525 pixels):

To match the source picture size and all the mosaic settings to precisely fit the full mosaic on this monitor can be calculated as follows:

Approach 1:

We start with a trial and error mosaic creation. We start with a tile size of 50, thus 1650/50 = 33 tile son the horizontal, and therefore 21 on the vertical. The amount of tiles are integer numbers so we can expect that the mosaic will fully cover the screen, with no black edges top/bottom or left/right. This is the first mosaic result:

The mosaic is quite good, also because of 40% colorize and 20% original blend.

Approach 2:

We start with the amount of tiles: 50. This will lead to a cell size of 33, which fits on the horizontal (1650/33 = 50), but won't fit on the vertical: 1050/33 = 31.8. Since the application uses normal rounding-off maths the amount of tile on the vertical will become 32. This combination will lead to a slightly lower aspect ratio, resulting a small black lines left and right of the mosaic on the monitor: the mosaic size will be 1650 x 1056 pixels (32 x 33 = 1056). Although 3 pixels left and right can basically be ignored, we can still repair some of this 'damage' by tweaking the aspect ratio of each tile.

We will now increase the aspect ratio step by step. At first nothing happens with the mosaic size (this can be found below the miniature picture top-left of the GUI) because the number of tiles on the vertical will still not change to a different number. When the aspect ratio reaches the value of 1.11 the mosaic size is then perfectly set to 1650 x 1050 again. See screen shot below.

When the initial mosaic is now created and saved you will notice that the mosaic size is exactly as indicated: 1650 x 1050. It will now perfectly fit on the monitor screen again. The tiles are slightly landscape but this should be not a problem. Most importantly: because the amount of tile on the horizontal is significantly higher than the first approach the overall impression of the mosaic is extremely accurate.

 

 


Copyright © 2009-2023 APP Helmond